package fr.appliClient.client.widget.Main;

import com.google.gwt.event.shared.EventBus;
import com.google.gwt.user.client.ui.HasWidgets;

import fr.appliClient.client.widget.Presenter;

public class MainPresenter extends Presenter<MainModel, MainView> implements MainPresenterCallBack {

	public MainPresenter(EventBus eventBus, MainView display) {

		super(eventBus, display);
	}

	@Override
	protected void bind() {

		// Nothing to do
	}

	@Override
	public void go(HasWidgets container) {

		super.go(container);
	}

	public HasWidgets getCenter() {

		return this.display.getCenter();
	}

	/**
	 * Call main view initialization
	 */
	public void callViewInit() {

		this.display.init();
	}
}
